import {RequestUtil} from '@/utils'

export class SystemHttp {
    static PREFIX = "/manager/finance/currency"


    static getTariffPage = (params: Record<string, any>) => RequestUtil.getAjax(`${this.PREFIX}/tariff/pageList`, params)

    static addTariff = (data: Record<string, any>) => RequestUtil.postAjax(`${this.PREFIX}/tariff/add`, data)

    static updateTariff = (id: string | number, data: Record<string, any>) => RequestUtil.putAjax(`${this.PREFIX}/tariff/update/${id}`, data)

    static delTariff = (data: any[]) => RequestUtil.delAjax(`${this.PREFIX}/tariff/delete`, data)

}


